import {
  relativeTimeThreshold
} from "../../../utils/moment"

// pages/myActivity/activity-item/activity-item.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    isShow: {
      type: Boolean
    },
    activity_id: {
      type: Number
    },
    color: {
      type: String
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    handleTap() {
      console.log(this.properties)
      this.triggerEvent("gettap",this.properties.activity_id)
    }
  }
})